/**
 * jims
 */
package com.jims.master.modules.doctor.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 检查申请明细Entity
 * @author 陈晓阳
 * @version 2017-03-14
 */
public class ExamItem extends DataEntity<ExamItem> {
	
	private static final long serialVersionUID = 1L;
	private String applyId;		// 检查申请主表ID
	private String itemName;		// 检查项目名称
	private String clinicItemId;//诊疗项目ID
	private String itemCode;		// 检查项目code
	private String costs;		// 费用
    private ExamApply examApply;//主记录实体
    private String clinicItemIds;//诊疗项目Ids

	public ExamItem() {
		super();
	}

	public ExamItem(String id){
		super(id);
	}

	@Length(min=1, max=64, message="检查申请主表ID长度必须介于 1 和 64 之间")
	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}
	
	@Length(min=1, max=100, message="检查项目名称长度必须介于 1 和 100 之间")
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	
	@Length(min=1, max=100, message="检查项目code长度必须介于 1 和 100 之间")
	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	public String getCosts() {
		return costs;
	}

	public void setCosts(String costs) {
		this.costs = costs;
	}

    public ExamApply getExamApply() {
        return examApply;
    }

    public void setExamApply(ExamApply examApply) {
        this.examApply = examApply;
    }

    public String getClinicItemIds() {
        return clinicItemIds;
    }

    public void setClinicItemIds(String clinicItemIds) {
        this.clinicItemIds = clinicItemIds;
    }

	public String getClinicItemId() {
		return clinicItemId;
	}

	public void setClinicItemId(String clinicItemId) {
		this.clinicItemId = clinicItemId;
	}
}